import java.util.ArrayList;
import java.util.List;

//Department就是Composite，可以管理Major
public class Major extends OrganizationComponent{

    public Major(String name, String des) {
        super(name, des);
    }

    @Override
    protected void print() {
        System.out.println(getName());
    }

}
